package com.bskj.kuaifu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class TestPageController {
	@RequestMapping("addParkLot")
	public ModelAndView addParkLot() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/parkLot/addParkLot");
		return mv;
	}

	@RequestMapping("carIn")
	public ModelAndView carIn() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/parkLot/in");
		return mv;
	}
	
	@RequestMapping("carOut")
	public ModelAndView carOut() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/parkLot/out");
		return mv;
	}
	
	@RequestMapping("pay")
	public ModelAndView pay() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/user/pay");
		return mv;
	}
	
	@RequestMapping("payArrears")
	public ModelAndView payArrears() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/user/payArrears");
		return mv;
	}
	
	@RequestMapping("parkInfo")
	public ModelAndView parkInfo() throws Exception {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/user/parkInfo");
		return mv;
	}
}
